package com.snopy.designPattern.structure.bridge.inter;

import lombok.Getter;
import lombok.Setter;

/**
 * @author snopy
 * @version 1.0.0
 * @classname Message
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/02 18:13
 */
@Setter
@Getter
public abstract class Message {
    protected MessageSender messageSender;
    public Message(MessageSender messageSender) {
        this.messageSender = messageSender;
    }

    public abstract void send();
    public abstract void send(String msg);
}
